package com.xiaoshuidi.cloud.module.iot.enums;

/**
 * 门锁密码状态 passwordstatus
 */
public enum PasswordStatusEnum {

    FROZEN(0, "frozen", "密码冻结状态"),
    VALID(1, "valid", "密码有效状态"),
    EXPIRED(2, "expired", "密码过期状态"),
    INEFFECTIVE(3, "ineffective", "密码未生效状态"),
    EXECUTING(4, "executing", "执行中"),
    ADDFAILURE(5, "add-failure", "添加失败");
    private Integer code;
    private String desc;
    private String chineseDesc;

    PasswordStatusEnum(Integer code, String desc, String chineseDesc) {
        this.code = code;
        this.desc = desc;
        this.chineseDesc = chineseDesc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public void setChineseDesc(String chineseDesc) {
        this.chineseDesc = chineseDesc;
    }

    public String getChineseDesc() {
        return chineseDesc;
    }

}
